﻿<div style="background:url(/images/topbg.gif) repeat-x; overflow:hidden">
    <div class="topleft">
        <a href="main.html" target="_parent"><img src="/images/logo_a2.png" title="系统首页" /></a>
    </div>
    <div class="topright">
        <ul>
            <li><span><img src="/images/help.png" title="帮助" class="helpimg" /></span><a href="#">帮助</a></li>
            <li><a href="#">关于</a></li>
            <li>
                @if ((string)Session["role"] == "teacher")
                {
                    <a href="/Home/TLogout" target="_parent">退出</a>
                }
                else
                {
                    <a href="/Home/SLogout" target="_parent">退出</a>
                }
            </li>
        </ul>
        <div class="user">
            <span> @User.Identity.Name</span>
            <i>消息</i>
            <b>5</b>
        </div>
    </div>
    <div style="clear:both"></div>
</div>